package com.antis.olsl.data.turnover;

import com.antis.olsl.base.BasePresenter;
import com.antis.olsl.base.BaseView;
import com.antis.olsl.data.response.GetPosTurnoverResp;
import com.antis.olsl.library.response.SalesroomOrWarehouseInfo;

import java.util.List;
import java.util.Map;

public class PosTurnoverContract {

    interface Presenter extends BasePresenter {
        void takeView(PosTurnoverContract.View view);

        void getSalesroomInfoList(Map<String, Object> map);

        void getPosTurnover(Map<String, Object> map);
    }

    interface View extends BaseView<Presenter> {
        void getSalesroomInfoListSuccess(List<SalesroomOrWarehouseInfo> list);

        void getSalesroomInfoListFailure(String msg);

        void getPosTurnoverSuccess(GetPosTurnoverResp.ContentBean bean);

        void getPosTurnoverFailure(String msg);
    }
}
